/*
 * @Description: 文件描述
 * @Author: 1+
 * @Date: 2024-03-19 11:05:56
 * @LastEditors: 1+
 * @LastEditTime: 2024-04-28 10:55:16
 */
import { mapGetters } from 'vuex'
let mixins = {
  computed:{
    ...mapGetters('chartEdit', ['fetchTargetIndex']),
    ...mapGetters(['editCanvas', 'editCanvasConfig', 'targetChart', 'componentList']),
     targetData(){
      const index =  this.fetchTargetIndex()
      return this.componentList[index]
    }
  },
}
export default mixins